package top.dark.ware.service;

import com.baomidou.mybatisplus.extension.service.IService;
import top.dark.common.utils.PageUtils;
import top.dark.ware.entity.PurchaseEntity;
import top.dark.ware.vo.DonePurchaseVo;
import top.dark.ware.vo.MergePurchaseVo;

import java.util.List;
import java.util.Map;

/**
 * 采购信息
 *
 * @author lijiao
 * @email DarknessShadow11@outlook.com
 * @date 2021-02-01 17:33:57
 */
public interface PurchaseService extends IService<PurchaseEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils unreceiveList(Map<String, Object> params);

    void mergePurchase(MergePurchaseVo mergePurchaseVo);

    void receivedPurchase(List<Long> purchaseIds);

    void done(DonePurchaseVo donePurchaseVo);

}

